import {
    get,
    post,
    //postForm,
    del
} from '@/utils/http'
const packageName = `/back-api`


/**
 * 鱼池管理
 */
// 获取鱼池
export function getObjFishpond(params) {
    return get(`${packageName}/objFishpond/getObjFishpond`, params)
}
// 获取鱼池列表
export function getObjFishpondList(params) {
    return get(`${packageName}/objFishpond/getObjFishpondList`, params)
}
// 获取全部鱼池（基地id）
export function getObjFishponds(params) {
    return get(`${packageName}/objFishpond/getObjFishponds`, params)
}
// 删除鱼池
export function delObjFishpond(params) {
    return del(`${packageName}/objFishpond/delObjFishpond`, params)
}
// 保存鱼池
export function saveObjFishpond(params) {
    return post(`${packageName}/objFishpond/saveObjFishpond`, params)
}

/**
 * 鱼池详情表
 */
// 获取鱼池详情
export function getObjFishpondDetail(params) {
    return get(`${packageName}/objFishpondDetail/getObjFishpondDetail`, params)
}
// 获取鱼池列表
export function getObjFishpondDetailList(params) {
    return get(`${packageName}/objFishpondDetail/getObjFishpondDetailList`, params)
}
// 删除鱼池详情
export function delObjFishpondDetail(params) {
    return del(`${packageName}/objFishpondDetail/delObjFishpondDetail`, params)
}
// 保存鱼池详情
export function saveObjFishpondDetail(params) {
    return post(`${packageName}/objFishpondDetail/saveObjFishpondDetail`, params)
}
